package com.itheima.reggie.service;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.reggie.common.R;
import com.itheima.reggie.dto.DishDto;
import com.itheima.reggie.entity.Dish;

import java.util.List;

public interface DishService extends IService<Dish> {

    /*
     * 新增菜品 同时插入口味等
     * */
    void saveWithFlavor(DishDto dishDto);

    DishDto updateWithFlavor(DishDto dishDto);

    R delete(List<Long> ids);
}
